Matej Urbančič [Thu, 19 Jul 2012 08:11:16 +0000 (10:11 +0200)]
Updated Slovenian translation
Piotr Drąg [Wed, 18 Jul 2012 21:10:30 +0000 (23:10 +0200)]
Updated POTFILES.in
Rob Bradford [Wed, 18 Jul 2012 15:16:56 +0000 (16:16 +0100)]
wayland: Fallback to setting transient windows if no seat available
If we don't have a wl_seat - because a grab hasn't been initialised by GTK+
then fallback to making the shell surface transient to the parent rather than
a popup surface.
Rob Bradford [Wed, 18 Jul 2012 15:06:06 +0000 (16:06 +0100)]
wayland: Don't compare against GdkWindowTypeHint as a bitmask
The hint was being compared as a bitmask which means types that were not in
the list were being erroneously matched
Chao-Hsiung Liao [Wed, 18 Jul 2012 11:33:41 +0000 (19:33 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
José Dapena Paz [Mon, 16 Jul 2012 06:38:31 +0000 (08:38 +0200)]
wayland: Add default settings implementation for Wayland backend.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
José Dapena Paz [Mon, 16 Jul 2012 13:49:51 +0000 (15:49 +0200)]
wayland: don't wipe clipboard on any change coming from the same owner.
We now support independent selection and primary clipboards, and avoid
wiping clipboard on modifying its contents from the same owner. This fixes
most of the interaction issues with clipboard and selection.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Daniel Mustieles [Tue, 17 Jul 2012 10:04:56 +0000 (12:04 +0200)]
Updated Spanish translation
Rui Matos [Sat, 14 Jul 2012 00:34:26 +0000 (02:34 +0200)]
GtkTreeModelFilter: Fix _iter_previous() when iter points at 2nd node
GSequence iterators point at the position between two elements so an
iterator pointing at the N tree model node is actually between the N-1
and N sequence elements. This means that asking for the previous
sequence iterator first and then checking if it is the begin iterator
would yeld true for an iterator pointing at the 2nd tree model node
and make us return FALSE mistakenly.
https://bugzilla.gnome.org/show_bug.cgi?id=679910
Rui Matos [Mon, 16 Jul 2012 17:14:17 +0000 (19:14 +0200)]
tests/filtermodel: Add test for bug 679910
José Dapena Paz [Mon, 16 Jul 2012 19:08:20 +0000 (20:08 +0100)]
wayland: Initial version of keyboard key event handling
Review comment: I think the implementation of the vfuncs in gdkkeys-wayland.c
depend on that we're using the keysysm as the hardware keycode. I think that
needs to be evaluated for the future. But for now this patch gives reasonably
complete keyboard input.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
José Dapena Paz [Mon, 16 Jul 2012 18:51:48 +0000 (19:51 +0100)]
wayland: Hook up _get_num_lock / _get_caps_lock to read from XKB state
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Rob Bradford [Mon, 16 Jul 2012 18:45:57 +0000 (19:45 +0100)]
wayland: Remove unused function declaration
Rob Bradford [Mon, 16 Jul 2012 18:29:16 +0000 (19:29 +0100)]
wayland: Remove annoying whitespace
José Dapena Paz [Mon, 16 Jul 2012 18:16:48 +0000 (19:16 +0100)]
wayland: Create and expose an xkb_state on the keymap object
This is then logically associated with the input device since each (keyboard)
input device has its own keymap.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
José Dapena Paz [Mon, 16 Jul 2012 18:02:41 +0000 (19:02 +0100)]
wayland: Refactor the keymap handling so it is associated with device
Although GDK expects the keymap to be associated with the display under
Wayland this is really associated with the input device so expose this by
finding the first keyboard device.
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Matthias Clasen [Mon, 16 Jul 2012 19:08:17 +0000 (15:08 -0400)]
Bump version
Matthias Clasen [Mon, 16 Jul 2012 12:33:07 +0000 (08:33 -0400)]
3.5.8
Matthias Clasen [Mon, 16 Jul 2012 18:27:03 +0000 (14:27 -0400)]
More updates
Tomas Bzatek [Mon, 16 Jul 2012 15:29:01 +0000 (17:29 +0200)]
New gtk-launch command
This program launches an application specified by its desktop name
optinally taking list of URIs which are passed as arguments.
Uses GdkAppLaunchContext to get proper startup notification and
display handling for graphical apps.
https://bugzilla.gnome.org/show_bug.cgi?id=679342
Piotr Drąg [Mon, 16 Jul 2012 15:43:11 +0000 (17:43 +0200)]
Updated POTFILES.in
Rob Bradford [Mon, 16 Jul 2012 14:36:40 +0000 (15:36 +0100)]
wayland: Use the correct union member for axis events
Otherwise we end up overriding other members of the struct (in this case the
device pointer) and generate an error.
José Dapena Paz [Fri, 13 Jul 2012 14:29:25 +0000 (16:29 +0200)]
wayland: implementation of pointer_handle_axis.
We translate wayland pointer axis events to GDK smooth scroll events, to
implement pointer_handle_axis events.
https://bugzilla.gnome.org/show_bug.cgi?id=679986
Signed-off-by: Rob Bradford <rob@linux.intel.com>
Cosimo Cecchi [Wed, 11 Jul 2012 15:22:20 +0000 (11:22 -0400)]
cellrendererpix: set the IMAGE style class when rendering an icon
This way, themes can change symbolic icon colors for views, by using a
.view.image {
}
CSS selector.
https://bugzilla.gnome.org/show_bug.cgi?id=680008
Rob Bradford [Mon, 16 Jul 2012 12:40:55 +0000 (13:40 +0100)]
wayland: Implement the keyboard_enter/keyboard_leave events
This code is derived from the old keyboard focus change event handling.
Rob Bradford [Mon, 16 Jul 2012 12:39:32 +0000 (13:39 +0100)]
wayland: data_device.data_offer now has a safe object wrapper
The prototype for the listener has changed to provide a typesafe object rather
than an id that you have to bind into an object yourself.
Rob Bradford [Mon, 16 Jul 2012 11:33:35 +0000 (12:33 +0100)]
wayland: Process the keymap that is sent over from the compositor
Load the keymap from the file descriptor that the compositor has sent us and
then save that into our internal object for future use.
Rob Bradford [Sat, 14 Jul 2012 17:37:47 +0000 (18:37 +0100)]
wayland: Expose _gdk_wayland_display_get_keymap internally
Matthias Clasen [Mon, 16 Jul 2012 10:49:11 +0000 (06:49 -0400)]
Updates
Cosimo Cecchi [Thu, 12 Jul 2012 14:34:28 +0000 (10:34 -0400)]
tests: add a test for GtkLevelBar GtkBuildable implementation
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Cosimo Cecchi [Fri, 8 Jun 2012 22:58:51 +0000 (18:58 -0400)]
visuals: add a visual demo for GtkLevelBar
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Cosimo Cecchi [Thu, 12 Jul 2012 14:52:00 +0000 (10:52 -0400)]
level-bar: add default Raleigh theming for GtkLevelBar
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Cosimo Cecchi [Tue, 29 May 2012 21:00:33 +0000 (17:00 -0400)]
level-bar: introduce GtkLevelBar
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Cosimo Cecchi [Mon, 16 Jul 2012 02:23:32 +0000 (22:23 -0400)]
docs: remove duplicate entries in gtk3-sections
Piotr Drąg [Sun, 15 Jul 2012 21:31:39 +0000 (23:31 +0200)]
Updated Polish translation
Christian Kirbach [Sun, 15 Jul 2012 16:20:43 +0000 (18:20 +0200)]
Updated German translation
Matthias Clasen [Sun, 15 Jul 2012 15:45:21 +0000 (11:45 -0400)]
Fix preview sizing in GtkFontSelection
The code that was trying to limit preview size changes was
running into some width-for-height pitfalls. It turns out
that the dialog behaves quite ok without this code, so just
remove it.
Praveen Illa [Sun, 15 Jul 2012 11:59:46 +0000 (17:29 +0530)]
Updated Telugu Translation
Ihar Hrachyshka [Sun, 15 Jul 2012 11:34:18 +0000 (14:34 +0300)]
Updated Belarusian translation.
Matthias Clasen [Sun, 15 Jul 2012 04:53:46 +0000 (00:53 -0400)]
Add GDK_AVAILABLE annotations to new API
Matthias Clasen [Sun, 15 Jul 2012 04:39:02 +0000 (00:39 -0400)]
Clear cached row sensitivity when the filter changes
Now that filters may affect sensitivity of rows, we need
to clear the sensitivity column from the cache when the
filter changes. This fixes the problem where selecting a
different filter does not update the sensitivity of folders
until you change directories.
Matthias Clasen [Sun, 15 Jul 2012 04:37:41 +0000 (00:37 -0400)]
Emit row-changed notification
Emit row-changed when the filteredness of a visible row
changes in GtkFileSystemModel.
Matthias Clasen [Sun, 15 Jul 2012 01:16:39 +0000 (21:16 -0400)]
Test folder filtering
Add a filter to testfilechooser that can demonstrate folder
filtering on common directories, such as Documents or Downloads.
Federico Mena Quintero [Wed, 11 Jul 2012 22:50:15 +0000 (17:50 -0500)]
Make the logic for setting the sensitivity column a bit more clear
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 11 Jul 2012 21:32:52 +0000 (16:32 -0500)]
Make computing and setting the visibility/filters atomic operations
This way we remove paired function calls (compute/set pairs), and also make
it possible to avoid computing a filter twice, as setting the visibility
depends on filteredness.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 11 Jul 2012 20:47:53 +0000 (15:47 -0500)]
Make it clear that 'filtered' means 'filtered_out'
It bothers me that we call gtk_file_filter_filter(), then negate the result,
and the return *that* from node_should_be_filtered(). So, rename 'filtered'
throughout GtkFileSystemModel to 'filtered_out' to mean things that didn't
pass the filter.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
Federico Mena Quintero [Wed, 11 Jul 2012 19:58:32 +0000 (14:58 -0500)]
Remove superfluous check in node_set_filtered()
This was a copy-paste leftover from node_set_visible(). Filters are not
concerned with model freezes, so node_set_filtered() does not
need to handle freezes, either.
Signed-off-by: Federico Mena Quintero <federico@gnome.org>
William Jon McCann [Sun, 8 Jul 2012 07:25:02 +0000 (03:25 -0400)]
Desensitize filtered folders when in folder selection mode
https://bugzilla.gnome.org/show_bug.cgi?id=679333
Chao-Hsiung Liao [Sat, 14 Jul 2012 06:11:40 +0000 (14:11 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Matthias Clasen [Sat, 14 Jul 2012 03:05:36 +0000 (23:05 -0400)]
Cosmetic changes
Matthias Clasen [Sat, 14 Jul 2012 03:04:54 +0000 (23:04 -0400)]
Add GtkMenuButton and GtkSearchEntry to types file
Matthias Clasen [Sat, 14 Jul 2012 02:31:34 +0000 (22:31 -0400)]
Add GtkMenuButton and GtkSearchEntry to gallery
At the same time, remove GtkComboBoxEntry, which no longer exists.
Carlos Garnacho [Fri, 13 Jul 2012 13:03:30 +0000 (15:03 +0200)]
menu: Fix touch scrolling on menus close to the monitor edge
Specially in the case of comboboxes, those menus could enable scrolling
even if the contents could fit in the work area, and could show blank
space in order to line up the selected item with the combobox.
When such thing happens, take into account scroll_offset when relocating
the menu contents so contents don't jump directly onscreen, and apply
it so scrolling is allowed in the direction that brings the menu onscreen
and blocked in the opposite direction.
Also, wait for cancelling the scroll operation until the touch is released
even if the scrolling arrows disappeared, so the menu item underneath isn't
selected right away.
https://bugzilla.gnome.org/show_bug.cgi?id=678113
Carlos Garnacho [Fri, 13 Jul 2012 13:57:45 +0000 (15:57 +0200)]
statusicon: Rely on GtkIconHelper for pixbuf resizes
The same is now achieved by forcing pixbuf rescaling on the icon helper
Carlos Garnacho [Fri, 13 Jul 2012 13:55:44 +0000 (15:55 +0200)]
Ensure pixbufs as entry icons get resized
Entries don't expand vertically if they are given pixbufs larger
than the calculated height for the current font, resulting in
cropped icons, so force the pixbuf to be rescaled so it fits
on the entry allocated size.
https://bugzilla.gnome.org/show_bug.cgi?id=678087
Carlos Garnacho [Fri, 13 Jul 2012 13:54:29 +0000 (15:54 +0200)]
Add API to force a GtkIconHelper pixbuf rescaling
This API is handy in entries and status icons, where the size is
limited and independent of the pixbuf size
Carlos Garnacho [Fri, 13 Jul 2012 12:49:47 +0000 (14:49 +0200)]
menu: small code cleanup
Don't check twice for the widget being realized to move
both windows
Carlos Garnacho [Fri, 13 Jul 2012 12:47:38 +0000 (14:47 +0200)]
menu: code style fix
The newline before != looks unintentional
Carlos Garnacho [Wed, 6 Jun 2012 16:16:05 +0000 (18:16 +0200)]
icontheme: Don't assume a symbolic icon size of 16x16
If the symbolic icon has other size than 16x16, the embedder
SVG that overrides colors would still force that size, resulting
in clipping instead of resizing. So fetch the original pixbuf
size the first time a symbolic icon is requested for a GtkIconInfo,
and use that size for the embedder SVG so it can be scaled properly
afterwards.
https://bugzilla.gnome.org/show_bug.cgi?id=677567
Carlos Garnacho [Wed, 27 Jun 2012 12:51:57 +0000 (14:51 +0200)]
introspection: mark data in GtkCallback as closure
This is needed for so GtkContainer::forall() can be implemented
in non-native code, and the callback gets the passed data if
called.
https://bugzilla.gnome.org/show_bug.cgi?id=644926#c28
Matthias Clasen [Fri, 13 Jul 2012 11:36:31 +0000 (07:36 -0400)]
Some updates
Andika Triwidada [Fri, 13 Jul 2012 04:48:44 +0000 (11:48 +0700)]
Updated Indonesian translation of Property Nicks
Andika Triwidada [Fri, 13 Jul 2012 03:59:13 +0000 (10:59 +0700)]
Updated Indonesian translation
Rob Bradford [Wed, 11 Jul 2012 18:22:27 +0000 (19:22 +0100)]
wayland: Ensure we destroy the shell surface when destroying the surface
Otherwise we can try and use an invalid object that the compositor has already
deleted.
Rob Bradford [Wed, 11 Jul 2012 18:18:37 +0000 (19:18 +0100)]
wayland: wl_shell_surface_set_popup requires a valid seat and serial
If we don't have our own grab then get the grab from the parent.
Rob Bradford [Wed, 11 Jul 2012 18:17:45 +0000 (19:17 +0100)]
wayland: Protocol update: wl_pointer_set_cursor takes a serial
Rob Bradford [Wed, 11 Jul 2012 16:10:40 +0000 (17:10 +0100)]
wayland: Protocol update: wl_shell_surface_resize and _move take serials
Rob Bradford [Wed, 11 Jul 2012 16:09:23 +0000 (17:09 +0100)]
wayland: Save the serial number for the ping event
Rob Bradford [Wed, 11 Jul 2012 16:08:39 +0000 (17:08 +0100)]
wayland: Save the serial numbers for the pointer events
Rob Bradford [Wed, 11 Jul 2012 16:06:32 +0000 (17:06 +0100)]
wayland: Add internal API for handling Wayland serial numbers
We need to keep track of the serial numbers for various API requests.
Rob Bradford [Wed, 11 Jul 2012 15:12:50 +0000 (16:12 +0100)]
wayland: Ensure that _get_client_pointer returns a pointer
The previous implementation could return a device that is a keyboard.
Rob Bradford [Wed, 11 Jul 2012 13:43:50 +0000 (14:43 +0100)]
wayland: Port to libxkbcommon API changes
xkb_string_to_keysym -> xkb_keysym_from_name
xkb_keysym_get_name -> xkb_keysym_get_name
Rob Bradford [Wed, 11 Jul 2012 13:43:16 +0000 (14:43 +0100)]
wayland: Switch to new wayland cursors mechanism
Rob Bradford [Wed, 11 Jul 2012 13:40:31 +0000 (14:40 +0100)]
wayland: Protocol change: wl_buffer_damage
wl_buffer_damage is no longer necessary - it is sufficient to damage the
surface that the buffer is attached to instead.
Rob Bradford [Wed, 11 Jul 2012 13:38:28 +0000 (14:38 +0100)]
wayland: Protocol change: configure event
The 'time' value has been removed.
Rob Bradford [Wed, 11 Jul 2012 13:37:46 +0000 (14:37 +0100)]
wayland: Protocol change: wl_shell_surface_* take surfaces for parents
These functions used to take shell_surface objects and now take surface
objects the parents.
Rob Bradford [Wed, 11 Jul 2012 13:37:04 +0000 (14:37 +0100)]
wayland: Remove unused variable
Rob Bradford [Wed, 11 Jul 2012 13:36:03 +0000 (14:36 +0100)]
wayland: Temporary disable/hackaround keyboard code
Rob Bradford [Wed, 11 Jul 2012 13:31:15 +0000 (14:31 +0100)]
wayland: Port to SHM pool allocation mechanism
Rob Bradford [Wed, 11 Jul 2012 13:29:43 +0000 (14:29 +0100)]
wayland: Port to new input protocol mechanism
This replaces the wl_input_device with wl_pointer, wl_keyboard, wl_touch all
tied together under a wl_seat.
This is quite a radical change in protocol and for now keyboard handling is
disabled.
Rob Bradford [Wed, 11 Jul 2012 13:18:28 +0000 (14:18 +0100)]
wayland: Load cursor theme using new Wayland cursor library
This requires the SHM object be initialised - therefore this is the most
logical (if slightly ugly place.)
We also need to make sure that we do something clever to load the correct
cursor theme.
Rob Bradford [Wed, 11 Jul 2012 13:17:36 +0000 (14:17 +0100)]
wayland: Remove unhelpful debug message
Rob Bradford [Wed, 11 Jul 2012 13:15:04 +0000 (14:15 +0100)]
wayland: Protocol change: ping event on shell_surface
Rob Bradford [Wed, 11 Jul 2012 13:12:07 +0000 (14:12 +0100)]
wayland: Update configure.ac to add now needed wayland-cursor
Rob Bradford [Mon, 18 Jun 2012 15:02:37 +0000 (16:02 +0100)]
wayland: Update to new header path for xkbcommon
Matthias Clasen [Thu, 12 Jul 2012 12:35:50 +0000 (08:35 -0400)]
Consistently allow -1 to mean 'append' in tree models
Both GtkListStore and GtkTreeStore had a few methods that allowed
-1 to mean 'append' when specified as a position, but others that
demanded positive position arguments. Make this consistent by
always allowing -1.
https://bugzilla.gnome.org/show_bug.cgi?id=667808
Emmanuele Bassi [Wed, 4 Jul 2012 10:41:50 +0000 (11:41 +0100)]
Ensure that XDG_DATA_HOME is created before using it
The recently-used.xbel storage for recently used files is located inside
the $XDG_DATA_HOME directory; there's no actual guarantee that the
directory has been created already, even though it's very highly
probable on any modern distribution. We should create it, along with its
intermediate parents, before constructing the file monitor that we use
to get change notifications.
https://bugzilla.gnome.org/show_bug.cgi?id=671817
https://bugzilla.gnome.org/show_bug.cgi?id=667808
Micah Carrick [Tue, 26 Jun 2012 03:21:22 +0000 (20:21 -0700)]
Fix typo replacing action "Parse" with "Paste"
The builder XML description has an action for "win.parse" but the
application is looking for "win.paste". Rename the label to
"_Paste" and the action to "win.paste" in the window action XML.
https://bugzilla.gnome.org/show_bug.cgi?id=678829
Phil Clayton [Sun, 1 Jul 2012 23:35:46 +0000 (00:35 +0100)]
Change signal parameter names in GdkWindow to be valid C identifiers
https://bugzilla.gnome.org/show_bug.cgi?id=679228
Matthias Clasen [Wed, 11 Jul 2012 11:15:34 +0000 (07:15 -0400)]
Revert "level-bar: introduce GtkLevelBar"
This reverts commit
126a2308ca467744178d4be3309403f6899de987.
Pushed by mistake.
Matthias Clasen [Wed, 11 Jul 2012 11:15:07 +0000 (07:15 -0400)]
Revert "visuals: add a visual demo for GtkLevelBar"
This reverts commit
ffdd7a5e185879006d405ffd69f68ff60f5fccfa.
Pushed by mistake.
Víctor Manuel Jáquez Leal [Wed, 4 Jul 2012 16:41:36 +0000 (18:41 +0200)]
docs: link against libgdk-3.la
https://bugzilla.gnome.org/show_bug.cgi?id=679409
Cosimo Cecchi [Fri, 8 Jun 2012 22:58:51 +0000 (18:58 -0400)]
visuals: add a visual demo for GtkLevelBar
https://bugzilla.gnome.org/show_bug.cgi?id=677892
https://bugzilla.gnome.org/show_bug.cgi?id=679409
Cosimo Cecchi [Tue, 29 May 2012 21:00:33 +0000 (17:00 -0400)]
level-bar: introduce GtkLevelBar
Similar to CcStrengthBar from gnome-control-center, but more generic and
with thorough CSS styling support.
https://bugzilla.gnome.org/show_bug.cgi?id=677892
Matthias Clasen [Wed, 11 Jul 2012 01:24:10 +0000 (21:24 -0400)]
GtkApplication: Fix unsetting menu models
Pointed out by Zachary Dovel in
http://bugzilla.gnome.org/show_bug.cgi?id=679705
Kjartan Maraas [Tue, 10 Jul 2012 13:17:06 +0000 (15:17 +0200)]
Updated Norwegian nynorsk translation
Matthias Clasen [Tue, 10 Jul 2012 02:12:45 +0000 (22:12 -0400)]
Silence the build
Hide gdbus-codegen behind $(AM_V_GEN) for silence and cleanliness.
Matthias Clasen [Tue, 26 Jun 2012 19:09:12 +0000 (15:09 -0400)]
Add missing functions to the docs
://bugzilla.gnome.org/show_bug.cgi?id=678828
Antoine Jacoutot [Mon, 9 Jul 2012 16:20:34 +0000 (18:20 +0200)]
OpenBSD: use G_N_ELEMENTS instead of nitems
nitems is never guaranteed to be defined in sys/params.h as it is meant
to be defined within a protected ifdef __KERNEL conditional.
Use G_N_ELEMENTS from GLib which is the proper way of doing this.
Benjamin Otte [Mon, 9 Jul 2012 01:11:01 +0000 (03:11 +0200)]
a11y: Make lockbutton notify about state changes
In particular, ensure that the name of the lockbutton gets updated as
the displayed text of the lockbutton changes.
https://bugzilla.gnome.org/show_bug.cgi?id=677347